﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CJJCH.Web
{
    public partial class ExpertDetail : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                InitDataBind();
            }
        }

        private void InitDataBind()
        {
            lblCompanyName.Text = Request.QueryString["companyName"] != null ? Request.QueryString["companyName"].Trim() : "";
            lblCompanyAddress.Text = Request.QueryString["companyAddress"] != null ? Request.QueryString["companyAddress"].Trim() : "";
            lblPostCode.Text = Request.QueryString["postCode"] != null ? Request.QueryString["postCode"].Trim() : "";
            lblContactName.Text = Request.QueryString["contactName"] != null ? Request.QueryString["contactName"].Trim() : "";
            lblEmail.Text = Request.QueryString["userEmail"] != null ? Request.QueryString["userEmail"].Trim() : "";
            LblOfficeTel.Text = Request.QueryString["officeTel"] != null ? Request.QueryString["officeTel"].Trim() : "";
            lblUserMobile.Text = Request.QueryString["userMobile"] != null ? Request.QueryString["userMobile"].Trim() : "";
            lblProjectName.Text = Request.QueryString["projectName"] != null ? Request.QueryString["projectName"].Trim() : "";
            lblProjectAddress.Text = Request.QueryString["projectAddress"] != null ? Request.QueryString["projectAddress"].Trim() : "";
            lblJDMS.Text = Request.QueryString["jdms"] != null ? Request.QueryString["jdms"].Trim() : "";
            lblDXSCS.Text = Request.QueryString["dxscs"] != null ? Request.QueryString["dxscs"].Trim() : "";
            lblZCSL.Text = Request.QueryString["zcsl"] != null ? Request.QueryString["zcsl"].Trim() : "";
            lblRCSL.Text=Request.QueryString["rcsl"] != null ? Request.QueryString["rcsl"].Trim() : "";
            lblPSSJ.Text = Request.QueryString["pssj"] != null ? Request.QueryString["pssj"].Trim() : "";
            lblSBSJ.Text = Request.QueryString["sbsj"] != null ? Request.QueryString["sbsj"].Trim() : "";
            lblHYDZ.Text = Request.QueryString["hydz"] != null ? Request.QueryString["hydz"].Trim() : "";
            lnkSCWJONEName.Text = Request.QueryString["sgwj1"] != null ? Request.QueryString["sgwj1"].Trim() : "";
            lnkSCWJWOName.Text = Request.QueryString["scwj2"] != null ? Request.QueryString["scwj2"].Trim() : "";
            lblWJSM.Text = Request.QueryString["wjsm"] != null ? Request.QueryString["wjsm"].Trim() : "";
        }
    }
}